package com.qiye.pointsserver.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;


@Data
@Schema(description = "添加/修改其他资源积分对象")
public class AutherDto {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 积分
     */
    @TableField(value = "points")
    private BigDecimal points;

    /**
     * 类型
     */
    @TableField(value = "type")
    private String type;

    /**
     * 到期时间
     */
    @TableField(value = "time")
    private String time;

    /**
     * 积分说明
     */
    @TableField(value= "`describe`")
    private String describe;
}
